package com.css.apps.base.theme.service;

import java.util.List;

import com.css.db.query.QueryCache;

public class ThemeService {
	@SuppressWarnings("unchecked")
	public static int getThemeCount() {
		List<String> list = new QueryCache("select a.uuid from Theme a where a.openFlag = 1").list();
		if (null == list) {
			return 0;
		} else {
			return list.size();
		}
	}
}
